<%@ page contentType="text/html;charset=gb2312" import="java.sql.*"%>
<jsp:useBean id="conn" class="dbBean.DBBean" scope="session"/>
<%@ include file="checkadmin.jsp"%>
<center>
<%
	String delid="0";
	String orderstate="";
	String bookid="";
	if(request.getParameter("delid")!=null)
		delid=request.getParameter("delid");
	String sql="delete from orderinfo where orderid='"+delid+"'";
	conn.executeUpdate(sql);
	conn.close();
	response.sendRedirect("listorder.jsp");
%>
